<?php
	include $script['classConnexion'];
	$laBase = new clstBDD;
	$laBase->connecte($db ['dsn'],$db ['userid'],$db ['pass']);
	
	if ($laBase->getConnexion() != null) {
		//on interroge la base
		$sql='select VIS_NOM,VIS_MATRICULE from visiteur';
		$curseur = $laBase->requeteSelect($sql);
		$res=odbc_fetch_array($curseur);
		list($err, $donneesVisiteurs) = obtenirDonnees($db ['dsn'],$db ['userid'],$db ['pass'], $sql);
	
	}
	
	$contenu = $page['FormVisiteur'];
	$title = 'Form Visiteur';
?>